package com.alks.function.data.request.administration;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
public class GetRequest extends PageParam {

    @ApiModelProperty(value = "部门名称",name = "deptName")
    private List<String> deptName;
    private List<String> newDeptName;

    @ApiModelProperty(value = "姓名",name = "name")
    private String name;

    @ApiModelProperty(value = "性别",name = "sex")
    private String sex;

    @ApiModelProperty(value = "身份证号码",name = "idNo")
    private String idNo;

    @ApiModelProperty(value = "职务",name = "position")
    private String position;

    @ApiModelProperty(value = "工种",name = "workType")
    private String workType;

    @ApiModelProperty(value = "计算类型",name = "calcType")
    private String calcType;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "异动开始时间",name = "inTime")
    private LocalDate inTime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "异动结束时间",name = "outTime")
    private LocalDate outTime;

    @ApiModelProperty(value = "变更后",name = "change")
    private String change;

    @ApiModelProperty(value = "地址",name = "address")
    private String address;

    private String companyId;
}
